package com.base.po.voip;

import java.util.ArrayList;
import java.util.List;

public class NewsAllocationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public NewsAllocationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andParentidIsNull() {
            addCriterion("ParentId is null");
            return (Criteria) this;
        }

        public Criteria andParentidIsNotNull() {
            addCriterion("ParentId is not null");
            return (Criteria) this;
        }

        public Criteria andParentidEqualTo(String value) {
            addCriterion("ParentId =", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotEqualTo(String value) {
            addCriterion("ParentId <>", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThan(String value) {
            addCriterion("ParentId >", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThanOrEqualTo(String value) {
            addCriterion("ParentId >=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThan(String value) {
            addCriterion("ParentId <", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThanOrEqualTo(String value) {
            addCriterion("ParentId <=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLike(String value) {
            addCriterion("ParentId like", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotLike(String value) {
            addCriterion("ParentId not like", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidIn(List<String> values) {
            addCriterion("ParentId in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotIn(List<String> values) {
            addCriterion("ParentId not in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidBetween(String value1, String value2) {
            addCriterion("ParentId between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotBetween(String value1, String value2) {
            addCriterion("ParentId not between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andToutiaoIsNull() {
            addCriterion("toutiao is null");
            return (Criteria) this;
        }

        public Criteria andToutiaoIsNotNull() {
            addCriterion("toutiao is not null");
            return (Criteria) this;
        }

        public Criteria andToutiaoEqualTo(Byte value) {
            addCriterion("toutiao =", value, "toutiao");
            return (Criteria) this;
        }

        public Criteria andToutiaoNotEqualTo(Byte value) {
            addCriterion("toutiao <>", value, "toutiao");
            return (Criteria) this;
        }

        public Criteria andToutiaoGreaterThan(Byte value) {
            addCriterion("toutiao >", value, "toutiao");
            return (Criteria) this;
        }

        public Criteria andToutiaoGreaterThanOrEqualTo(Byte value) {
            addCriterion("toutiao >=", value, "toutiao");
            return (Criteria) this;
        }

        public Criteria andToutiaoLessThan(Byte value) {
            addCriterion("toutiao <", value, "toutiao");
            return (Criteria) this;
        }

        public Criteria andToutiaoLessThanOrEqualTo(Byte value) {
            addCriterion("toutiao <=", value, "toutiao");
            return (Criteria) this;
        }

        public Criteria andToutiaoIn(List<Byte> values) {
            addCriterion("toutiao in", values, "toutiao");
            return (Criteria) this;
        }

        public Criteria andToutiaoNotIn(List<Byte> values) {
            addCriterion("toutiao not in", values, "toutiao");
            return (Criteria) this;
        }

        public Criteria andToutiaoBetween(Byte value1, Byte value2) {
            addCriterion("toutiao between", value1, value2, "toutiao");
            return (Criteria) this;
        }

        public Criteria andToutiaoNotBetween(Byte value1, Byte value2) {
            addCriterion("toutiao not between", value1, value2, "toutiao");
            return (Criteria) this;
        }

        public Criteria andShehuiIsNull() {
            addCriterion("shehui is null");
            return (Criteria) this;
        }

        public Criteria andShehuiIsNotNull() {
            addCriterion("shehui is not null");
            return (Criteria) this;
        }

        public Criteria andShehuiEqualTo(Byte value) {
            addCriterion("shehui =", value, "shehui");
            return (Criteria) this;
        }

        public Criteria andShehuiNotEqualTo(Byte value) {
            addCriterion("shehui <>", value, "shehui");
            return (Criteria) this;
        }

        public Criteria andShehuiGreaterThan(Byte value) {
            addCriterion("shehui >", value, "shehui");
            return (Criteria) this;
        }

        public Criteria andShehuiGreaterThanOrEqualTo(Byte value) {
            addCriterion("shehui >=", value, "shehui");
            return (Criteria) this;
        }

        public Criteria andShehuiLessThan(Byte value) {
            addCriterion("shehui <", value, "shehui");
            return (Criteria) this;
        }

        public Criteria andShehuiLessThanOrEqualTo(Byte value) {
            addCriterion("shehui <=", value, "shehui");
            return (Criteria) this;
        }

        public Criteria andShehuiIn(List<Byte> values) {
            addCriterion("shehui in", values, "shehui");
            return (Criteria) this;
        }

        public Criteria andShehuiNotIn(List<Byte> values) {
            addCriterion("shehui not in", values, "shehui");
            return (Criteria) this;
        }

        public Criteria andShehuiBetween(Byte value1, Byte value2) {
            addCriterion("shehui between", value1, value2, "shehui");
            return (Criteria) this;
        }

        public Criteria andShehuiNotBetween(Byte value1, Byte value2) {
            addCriterion("shehui not between", value1, value2, "shehui");
            return (Criteria) this;
        }

        public Criteria andGuoneiIsNull() {
            addCriterion("guonei is null");
            return (Criteria) this;
        }

        public Criteria andGuoneiIsNotNull() {
            addCriterion("guonei is not null");
            return (Criteria) this;
        }

        public Criteria andGuoneiEqualTo(Byte value) {
            addCriterion("guonei =", value, "guonei");
            return (Criteria) this;
        }

        public Criteria andGuoneiNotEqualTo(Byte value) {
            addCriterion("guonei <>", value, "guonei");
            return (Criteria) this;
        }

        public Criteria andGuoneiGreaterThan(Byte value) {
            addCriterion("guonei >", value, "guonei");
            return (Criteria) this;
        }

        public Criteria andGuoneiGreaterThanOrEqualTo(Byte value) {
            addCriterion("guonei >=", value, "guonei");
            return (Criteria) this;
        }

        public Criteria andGuoneiLessThan(Byte value) {
            addCriterion("guonei <", value, "guonei");
            return (Criteria) this;
        }

        public Criteria andGuoneiLessThanOrEqualTo(Byte value) {
            addCriterion("guonei <=", value, "guonei");
            return (Criteria) this;
        }

        public Criteria andGuoneiIn(List<Byte> values) {
            addCriterion("guonei in", values, "guonei");
            return (Criteria) this;
        }

        public Criteria andGuoneiNotIn(List<Byte> values) {
            addCriterion("guonei not in", values, "guonei");
            return (Criteria) this;
        }

        public Criteria andGuoneiBetween(Byte value1, Byte value2) {
            addCriterion("guonei between", value1, value2, "guonei");
            return (Criteria) this;
        }

        public Criteria andGuoneiNotBetween(Byte value1, Byte value2) {
            addCriterion("guonei not between", value1, value2, "guonei");
            return (Criteria) this;
        }

        public Criteria andGuojiIsNull() {
            addCriterion("guoji is null");
            return (Criteria) this;
        }

        public Criteria andGuojiIsNotNull() {
            addCriterion("guoji is not null");
            return (Criteria) this;
        }

        public Criteria andGuojiEqualTo(Byte value) {
            addCriterion("guoji =", value, "guoji");
            return (Criteria) this;
        }

        public Criteria andGuojiNotEqualTo(Byte value) {
            addCriterion("guoji <>", value, "guoji");
            return (Criteria) this;
        }

        public Criteria andGuojiGreaterThan(Byte value) {
            addCriterion("guoji >", value, "guoji");
            return (Criteria) this;
        }

        public Criteria andGuojiGreaterThanOrEqualTo(Byte value) {
            addCriterion("guoji >=", value, "guoji");
            return (Criteria) this;
        }

        public Criteria andGuojiLessThan(Byte value) {
            addCriterion("guoji <", value, "guoji");
            return (Criteria) this;
        }

        public Criteria andGuojiLessThanOrEqualTo(Byte value) {
            addCriterion("guoji <=", value, "guoji");
            return (Criteria) this;
        }

        public Criteria andGuojiIn(List<Byte> values) {
            addCriterion("guoji in", values, "guoji");
            return (Criteria) this;
        }

        public Criteria andGuojiNotIn(List<Byte> values) {
            addCriterion("guoji not in", values, "guoji");
            return (Criteria) this;
        }

        public Criteria andGuojiBetween(Byte value1, Byte value2) {
            addCriterion("guoji between", value1, value2, "guoji");
            return (Criteria) this;
        }

        public Criteria andGuojiNotBetween(Byte value1, Byte value2) {
            addCriterion("guoji not between", value1, value2, "guoji");
            return (Criteria) this;
        }

        public Criteria andYuleIsNull() {
            addCriterion("yule is null");
            return (Criteria) this;
        }

        public Criteria andYuleIsNotNull() {
            addCriterion("yule is not null");
            return (Criteria) this;
        }

        public Criteria andYuleEqualTo(Byte value) {
            addCriterion("yule =", value, "yule");
            return (Criteria) this;
        }

        public Criteria andYuleNotEqualTo(Byte value) {
            addCriterion("yule <>", value, "yule");
            return (Criteria) this;
        }

        public Criteria andYuleGreaterThan(Byte value) {
            addCriterion("yule >", value, "yule");
            return (Criteria) this;
        }

        public Criteria andYuleGreaterThanOrEqualTo(Byte value) {
            addCriterion("yule >=", value, "yule");
            return (Criteria) this;
        }

        public Criteria andYuleLessThan(Byte value) {
            addCriterion("yule <", value, "yule");
            return (Criteria) this;
        }

        public Criteria andYuleLessThanOrEqualTo(Byte value) {
            addCriterion("yule <=", value, "yule");
            return (Criteria) this;
        }

        public Criteria andYuleIn(List<Byte> values) {
            addCriterion("yule in", values, "yule");
            return (Criteria) this;
        }

        public Criteria andYuleNotIn(List<Byte> values) {
            addCriterion("yule not in", values, "yule");
            return (Criteria) this;
        }

        public Criteria andYuleBetween(Byte value1, Byte value2) {
            addCriterion("yule between", value1, value2, "yule");
            return (Criteria) this;
        }

        public Criteria andYuleNotBetween(Byte value1, Byte value2) {
            addCriterion("yule not between", value1, value2, "yule");
            return (Criteria) this;
        }

        public Criteria andTiyuIsNull() {
            addCriterion("tiyu is null");
            return (Criteria) this;
        }

        public Criteria andTiyuIsNotNull() {
            addCriterion("tiyu is not null");
            return (Criteria) this;
        }

        public Criteria andTiyuEqualTo(Byte value) {
            addCriterion("tiyu =", value, "tiyu");
            return (Criteria) this;
        }

        public Criteria andTiyuNotEqualTo(Byte value) {
            addCriterion("tiyu <>", value, "tiyu");
            return (Criteria) this;
        }

        public Criteria andTiyuGreaterThan(Byte value) {
            addCriterion("tiyu >", value, "tiyu");
            return (Criteria) this;
        }

        public Criteria andTiyuGreaterThanOrEqualTo(Byte value) {
            addCriterion("tiyu >=", value, "tiyu");
            return (Criteria) this;
        }

        public Criteria andTiyuLessThan(Byte value) {
            addCriterion("tiyu <", value, "tiyu");
            return (Criteria) this;
        }

        public Criteria andTiyuLessThanOrEqualTo(Byte value) {
            addCriterion("tiyu <=", value, "tiyu");
            return (Criteria) this;
        }

        public Criteria andTiyuIn(List<Byte> values) {
            addCriterion("tiyu in", values, "tiyu");
            return (Criteria) this;
        }

        public Criteria andTiyuNotIn(List<Byte> values) {
            addCriterion("tiyu not in", values, "tiyu");
            return (Criteria) this;
        }

        public Criteria andTiyuBetween(Byte value1, Byte value2) {
            addCriterion("tiyu between", value1, value2, "tiyu");
            return (Criteria) this;
        }

        public Criteria andTiyuNotBetween(Byte value1, Byte value2) {
            addCriterion("tiyu not between", value1, value2, "tiyu");
            return (Criteria) this;
        }

        public Criteria andJunshiIsNull() {
            addCriterion("junshi is null");
            return (Criteria) this;
        }

        public Criteria andJunshiIsNotNull() {
            addCriterion("junshi is not null");
            return (Criteria) this;
        }

        public Criteria andJunshiEqualTo(Byte value) {
            addCriterion("junshi =", value, "junshi");
            return (Criteria) this;
        }

        public Criteria andJunshiNotEqualTo(Byte value) {
            addCriterion("junshi <>", value, "junshi");
            return (Criteria) this;
        }

        public Criteria andJunshiGreaterThan(Byte value) {
            addCriterion("junshi >", value, "junshi");
            return (Criteria) this;
        }

        public Criteria andJunshiGreaterThanOrEqualTo(Byte value) {
            addCriterion("junshi >=", value, "junshi");
            return (Criteria) this;
        }

        public Criteria andJunshiLessThan(Byte value) {
            addCriterion("junshi <", value, "junshi");
            return (Criteria) this;
        }

        public Criteria andJunshiLessThanOrEqualTo(Byte value) {
            addCriterion("junshi <=", value, "junshi");
            return (Criteria) this;
        }

        public Criteria andJunshiIn(List<Byte> values) {
            addCriterion("junshi in", values, "junshi");
            return (Criteria) this;
        }

        public Criteria andJunshiNotIn(List<Byte> values) {
            addCriterion("junshi not in", values, "junshi");
            return (Criteria) this;
        }

        public Criteria andJunshiBetween(Byte value1, Byte value2) {
            addCriterion("junshi between", value1, value2, "junshi");
            return (Criteria) this;
        }

        public Criteria andJunshiNotBetween(Byte value1, Byte value2) {
            addCriterion("junshi not between", value1, value2, "junshi");
            return (Criteria) this;
        }

        public Criteria andKejiIsNull() {
            addCriterion("keji is null");
            return (Criteria) this;
        }

        public Criteria andKejiIsNotNull() {
            addCriterion("keji is not null");
            return (Criteria) this;
        }

        public Criteria andKejiEqualTo(Byte value) {
            addCriterion("keji =", value, "keji");
            return (Criteria) this;
        }

        public Criteria andKejiNotEqualTo(Byte value) {
            addCriterion("keji <>", value, "keji");
            return (Criteria) this;
        }

        public Criteria andKejiGreaterThan(Byte value) {
            addCriterion("keji >", value, "keji");
            return (Criteria) this;
        }

        public Criteria andKejiGreaterThanOrEqualTo(Byte value) {
            addCriterion("keji >=", value, "keji");
            return (Criteria) this;
        }

        public Criteria andKejiLessThan(Byte value) {
            addCriterion("keji <", value, "keji");
            return (Criteria) this;
        }

        public Criteria andKejiLessThanOrEqualTo(Byte value) {
            addCriterion("keji <=", value, "keji");
            return (Criteria) this;
        }

        public Criteria andKejiIn(List<Byte> values) {
            addCriterion("keji in", values, "keji");
            return (Criteria) this;
        }

        public Criteria andKejiNotIn(List<Byte> values) {
            addCriterion("keji not in", values, "keji");
            return (Criteria) this;
        }

        public Criteria andKejiBetween(Byte value1, Byte value2) {
            addCriterion("keji between", value1, value2, "keji");
            return (Criteria) this;
        }

        public Criteria andKejiNotBetween(Byte value1, Byte value2) {
            addCriterion("keji not between", value1, value2, "keji");
            return (Criteria) this;
        }

        public Criteria andCaijingIsNull() {
            addCriterion("caijing is null");
            return (Criteria) this;
        }

        public Criteria andCaijingIsNotNull() {
            addCriterion("caijing is not null");
            return (Criteria) this;
        }

        public Criteria andCaijingEqualTo(Byte value) {
            addCriterion("caijing =", value, "caijing");
            return (Criteria) this;
        }

        public Criteria andCaijingNotEqualTo(Byte value) {
            addCriterion("caijing <>", value, "caijing");
            return (Criteria) this;
        }

        public Criteria andCaijingGreaterThan(Byte value) {
            addCriterion("caijing >", value, "caijing");
            return (Criteria) this;
        }

        public Criteria andCaijingGreaterThanOrEqualTo(Byte value) {
            addCriterion("caijing >=", value, "caijing");
            return (Criteria) this;
        }

        public Criteria andCaijingLessThan(Byte value) {
            addCriterion("caijing <", value, "caijing");
            return (Criteria) this;
        }

        public Criteria andCaijingLessThanOrEqualTo(Byte value) {
            addCriterion("caijing <=", value, "caijing");
            return (Criteria) this;
        }

        public Criteria andCaijingIn(List<Byte> values) {
            addCriterion("caijing in", values, "caijing");
            return (Criteria) this;
        }

        public Criteria andCaijingNotIn(List<Byte> values) {
            addCriterion("caijing not in", values, "caijing");
            return (Criteria) this;
        }

        public Criteria andCaijingBetween(Byte value1, Byte value2) {
            addCriterion("caijing between", value1, value2, "caijing");
            return (Criteria) this;
        }

        public Criteria andCaijingNotBetween(Byte value1, Byte value2) {
            addCriterion("caijing not between", value1, value2, "caijing");
            return (Criteria) this;
        }

        public Criteria andShishangIsNull() {
            addCriterion("shishang is null");
            return (Criteria) this;
        }

        public Criteria andShishangIsNotNull() {
            addCriterion("shishang is not null");
            return (Criteria) this;
        }

        public Criteria andShishangEqualTo(Byte value) {
            addCriterion("shishang =", value, "shishang");
            return (Criteria) this;
        }

        public Criteria andShishangNotEqualTo(Byte value) {
            addCriterion("shishang <>", value, "shishang");
            return (Criteria) this;
        }

        public Criteria andShishangGreaterThan(Byte value) {
            addCriterion("shishang >", value, "shishang");
            return (Criteria) this;
        }

        public Criteria andShishangGreaterThanOrEqualTo(Byte value) {
            addCriterion("shishang >=", value, "shishang");
            return (Criteria) this;
        }

        public Criteria andShishangLessThan(Byte value) {
            addCriterion("shishang <", value, "shishang");
            return (Criteria) this;
        }

        public Criteria andShishangLessThanOrEqualTo(Byte value) {
            addCriterion("shishang <=", value, "shishang");
            return (Criteria) this;
        }

        public Criteria andShishangIn(List<Byte> values) {
            addCriterion("shishang in", values, "shishang");
            return (Criteria) this;
        }

        public Criteria andShishangNotIn(List<Byte> values) {
            addCriterion("shishang not in", values, "shishang");
            return (Criteria) this;
        }

        public Criteria andShishangBetween(Byte value1, Byte value2) {
            addCriterion("shishang between", value1, value2, "shishang");
            return (Criteria) this;
        }

        public Criteria andShishangNotBetween(Byte value1, Byte value2) {
            addCriterion("shishang not between", value1, value2, "shishang");
            return (Criteria) this;
        }

        public Criteria andYouxiIsNull() {
            addCriterion("youxi is null");
            return (Criteria) this;
        }

        public Criteria andYouxiIsNotNull() {
            addCriterion("youxi is not null");
            return (Criteria) this;
        }

        public Criteria andYouxiEqualTo(Byte value) {
            addCriterion("youxi =", value, "youxi");
            return (Criteria) this;
        }

        public Criteria andYouxiNotEqualTo(Byte value) {
            addCriterion("youxi <>", value, "youxi");
            return (Criteria) this;
        }

        public Criteria andYouxiGreaterThan(Byte value) {
            addCriterion("youxi >", value, "youxi");
            return (Criteria) this;
        }

        public Criteria andYouxiGreaterThanOrEqualTo(Byte value) {
            addCriterion("youxi >=", value, "youxi");
            return (Criteria) this;
        }

        public Criteria andYouxiLessThan(Byte value) {
            addCriterion("youxi <", value, "youxi");
            return (Criteria) this;
        }

        public Criteria andYouxiLessThanOrEqualTo(Byte value) {
            addCriterion("youxi <=", value, "youxi");
            return (Criteria) this;
        }

        public Criteria andYouxiIn(List<Byte> values) {
            addCriterion("youxi in", values, "youxi");
            return (Criteria) this;
        }

        public Criteria andYouxiNotIn(List<Byte> values) {
            addCriterion("youxi not in", values, "youxi");
            return (Criteria) this;
        }

        public Criteria andYouxiBetween(Byte value1, Byte value2) {
            addCriterion("youxi between", value1, value2, "youxi");
            return (Criteria) this;
        }

        public Criteria andYouxiNotBetween(Byte value1, Byte value2) {
            addCriterion("youxi not between", value1, value2, "youxi");
            return (Criteria) this;
        }

        public Criteria andQicheIsNull() {
            addCriterion("qiche is null");
            return (Criteria) this;
        }

        public Criteria andQicheIsNotNull() {
            addCriterion("qiche is not null");
            return (Criteria) this;
        }

        public Criteria andQicheEqualTo(Byte value) {
            addCriterion("qiche =", value, "qiche");
            return (Criteria) this;
        }

        public Criteria andQicheNotEqualTo(Byte value) {
            addCriterion("qiche <>", value, "qiche");
            return (Criteria) this;
        }

        public Criteria andQicheGreaterThan(Byte value) {
            addCriterion("qiche >", value, "qiche");
            return (Criteria) this;
        }

        public Criteria andQicheGreaterThanOrEqualTo(Byte value) {
            addCriterion("qiche >=", value, "qiche");
            return (Criteria) this;
        }

        public Criteria andQicheLessThan(Byte value) {
            addCriterion("qiche <", value, "qiche");
            return (Criteria) this;
        }

        public Criteria andQicheLessThanOrEqualTo(Byte value) {
            addCriterion("qiche <=", value, "qiche");
            return (Criteria) this;
        }

        public Criteria andQicheIn(List<Byte> values) {
            addCriterion("qiche in", values, "qiche");
            return (Criteria) this;
        }

        public Criteria andQicheNotIn(List<Byte> values) {
            addCriterion("qiche not in", values, "qiche");
            return (Criteria) this;
        }

        public Criteria andQicheBetween(Byte value1, Byte value2) {
            addCriterion("qiche between", value1, value2, "qiche");
            return (Criteria) this;
        }

        public Criteria andQicheNotBetween(Byte value1, Byte value2) {
            addCriterion("qiche not between", value1, value2, "qiche");
            return (Criteria) this;
        }

        public Criteria andXiaohuaIsNull() {
            addCriterion("xiaohua is null");
            return (Criteria) this;
        }

        public Criteria andXiaohuaIsNotNull() {
            addCriterion("xiaohua is not null");
            return (Criteria) this;
        }

        public Criteria andXiaohuaEqualTo(Byte value) {
            addCriterion("xiaohua =", value, "xiaohua");
            return (Criteria) this;
        }

        public Criteria andXiaohuaNotEqualTo(Byte value) {
            addCriterion("xiaohua <>", value, "xiaohua");
            return (Criteria) this;
        }

        public Criteria andXiaohuaGreaterThan(Byte value) {
            addCriterion("xiaohua >", value, "xiaohua");
            return (Criteria) this;
        }

        public Criteria andXiaohuaGreaterThanOrEqualTo(Byte value) {
            addCriterion("xiaohua >=", value, "xiaohua");
            return (Criteria) this;
        }

        public Criteria andXiaohuaLessThan(Byte value) {
            addCriterion("xiaohua <", value, "xiaohua");
            return (Criteria) this;
        }

        public Criteria andXiaohuaLessThanOrEqualTo(Byte value) {
            addCriterion("xiaohua <=", value, "xiaohua");
            return (Criteria) this;
        }

        public Criteria andXiaohuaIn(List<Byte> values) {
            addCriterion("xiaohua in", values, "xiaohua");
            return (Criteria) this;
        }

        public Criteria andXiaohuaNotIn(List<Byte> values) {
            addCriterion("xiaohua not in", values, "xiaohua");
            return (Criteria) this;
        }

        public Criteria andXiaohuaBetween(Byte value1, Byte value2) {
            addCriterion("xiaohua between", value1, value2, "xiaohua");
            return (Criteria) this;
        }

        public Criteria andXiaohuaNotBetween(Byte value1, Byte value2) {
            addCriterion("xiaohua not between", value1, value2, "xiaohua");
            return (Criteria) this;
        }

        public Criteria andJiankangIsNull() {
            addCriterion("jiankang is null");
            return (Criteria) this;
        }

        public Criteria andJiankangIsNotNull() {
            addCriterion("jiankang is not null");
            return (Criteria) this;
        }

        public Criteria andJiankangEqualTo(Byte value) {
            addCriterion("jiankang =", value, "jiankang");
            return (Criteria) this;
        }

        public Criteria andJiankangNotEqualTo(Byte value) {
            addCriterion("jiankang <>", value, "jiankang");
            return (Criteria) this;
        }

        public Criteria andJiankangGreaterThan(Byte value) {
            addCriterion("jiankang >", value, "jiankang");
            return (Criteria) this;
        }

        public Criteria andJiankangGreaterThanOrEqualTo(Byte value) {
            addCriterion("jiankang >=", value, "jiankang");
            return (Criteria) this;
        }

        public Criteria andJiankangLessThan(Byte value) {
            addCriterion("jiankang <", value, "jiankang");
            return (Criteria) this;
        }

        public Criteria andJiankangLessThanOrEqualTo(Byte value) {
            addCriterion("jiankang <=", value, "jiankang");
            return (Criteria) this;
        }

        public Criteria andJiankangIn(List<Byte> values) {
            addCriterion("jiankang in", values, "jiankang");
            return (Criteria) this;
        }

        public Criteria andJiankangNotIn(List<Byte> values) {
            addCriterion("jiankang not in", values, "jiankang");
            return (Criteria) this;
        }

        public Criteria andJiankangBetween(Byte value1, Byte value2) {
            addCriterion("jiankang between", value1, value2, "jiankang");
            return (Criteria) this;
        }

        public Criteria andJiankangNotBetween(Byte value1, Byte value2) {
            addCriterion("jiankang not between", value1, value2, "jiankang");
            return (Criteria) this;
        }

        public Criteria andJiajuIsNull() {
            addCriterion("jiaju is null");
            return (Criteria) this;
        }

        public Criteria andJiajuIsNotNull() {
            addCriterion("jiaju is not null");
            return (Criteria) this;
        }

        public Criteria andJiajuEqualTo(Byte value) {
            addCriterion("jiaju =", value, "jiaju");
            return (Criteria) this;
        }

        public Criteria andJiajuNotEqualTo(Byte value) {
            addCriterion("jiaju <>", value, "jiaju");
            return (Criteria) this;
        }

        public Criteria andJiajuGreaterThan(Byte value) {
            addCriterion("jiaju >", value, "jiaju");
            return (Criteria) this;
        }

        public Criteria andJiajuGreaterThanOrEqualTo(Byte value) {
            addCriterion("jiaju >=", value, "jiaju");
            return (Criteria) this;
        }

        public Criteria andJiajuLessThan(Byte value) {
            addCriterion("jiaju <", value, "jiaju");
            return (Criteria) this;
        }

        public Criteria andJiajuLessThanOrEqualTo(Byte value) {
            addCriterion("jiaju <=", value, "jiaju");
            return (Criteria) this;
        }

        public Criteria andJiajuIn(List<Byte> values) {
            addCriterion("jiaju in", values, "jiaju");
            return (Criteria) this;
        }

        public Criteria andJiajuNotIn(List<Byte> values) {
            addCriterion("jiaju not in", values, "jiaju");
            return (Criteria) this;
        }

        public Criteria andJiajuBetween(Byte value1, Byte value2) {
            addCriterion("jiaju between", value1, value2, "jiaju");
            return (Criteria) this;
        }

        public Criteria andJiajuNotBetween(Byte value1, Byte value2) {
            addCriterion("jiaju not between", value1, value2, "jiaju");
            return (Criteria) this;
        }

        public Criteria andLishiIsNull() {
            addCriterion("lishi is null");
            return (Criteria) this;
        }

        public Criteria andLishiIsNotNull() {
            addCriterion("lishi is not null");
            return (Criteria) this;
        }

        public Criteria andLishiEqualTo(Byte value) {
            addCriterion("lishi =", value, "lishi");
            return (Criteria) this;
        }

        public Criteria andLishiNotEqualTo(Byte value) {
            addCriterion("lishi <>", value, "lishi");
            return (Criteria) this;
        }

        public Criteria andLishiGreaterThan(Byte value) {
            addCriterion("lishi >", value, "lishi");
            return (Criteria) this;
        }

        public Criteria andLishiGreaterThanOrEqualTo(Byte value) {
            addCriterion("lishi >=", value, "lishi");
            return (Criteria) this;
        }

        public Criteria andLishiLessThan(Byte value) {
            addCriterion("lishi <", value, "lishi");
            return (Criteria) this;
        }

        public Criteria andLishiLessThanOrEqualTo(Byte value) {
            addCriterion("lishi <=", value, "lishi");
            return (Criteria) this;
        }

        public Criteria andLishiIn(List<Byte> values) {
            addCriterion("lishi in", values, "lishi");
            return (Criteria) this;
        }

        public Criteria andLishiNotIn(List<Byte> values) {
            addCriterion("lishi not in", values, "lishi");
            return (Criteria) this;
        }

        public Criteria andLishiBetween(Byte value1, Byte value2) {
            addCriterion("lishi between", value1, value2, "lishi");
            return (Criteria) this;
        }

        public Criteria andLishiNotBetween(Byte value1, Byte value2) {
            addCriterion("lishi not between", value1, value2, "lishi");
            return (Criteria) this;
        }

        public Criteria andXingzuoIsNull() {
            addCriterion("xingzuo is null");
            return (Criteria) this;
        }

        public Criteria andXingzuoIsNotNull() {
            addCriterion("xingzuo is not null");
            return (Criteria) this;
        }

        public Criteria andXingzuoEqualTo(Byte value) {
            addCriterion("xingzuo =", value, "xingzuo");
            return (Criteria) this;
        }

        public Criteria andXingzuoNotEqualTo(Byte value) {
            addCriterion("xingzuo <>", value, "xingzuo");
            return (Criteria) this;
        }

        public Criteria andXingzuoGreaterThan(Byte value) {
            addCriterion("xingzuo >", value, "xingzuo");
            return (Criteria) this;
        }

        public Criteria andXingzuoGreaterThanOrEqualTo(Byte value) {
            addCriterion("xingzuo >=", value, "xingzuo");
            return (Criteria) this;
        }

        public Criteria andXingzuoLessThan(Byte value) {
            addCriterion("xingzuo <", value, "xingzuo");
            return (Criteria) this;
        }

        public Criteria andXingzuoLessThanOrEqualTo(Byte value) {
            addCriterion("xingzuo <=", value, "xingzuo");
            return (Criteria) this;
        }

        public Criteria andXingzuoIn(List<Byte> values) {
            addCriterion("xingzuo in", values, "xingzuo");
            return (Criteria) this;
        }

        public Criteria andXingzuoNotIn(List<Byte> values) {
            addCriterion("xingzuo not in", values, "xingzuo");
            return (Criteria) this;
        }

        public Criteria andXingzuoBetween(Byte value1, Byte value2) {
            addCriterion("xingzuo between", value1, value2, "xingzuo");
            return (Criteria) this;
        }

        public Criteria andXingzuoNotBetween(Byte value1, Byte value2) {
            addCriterion("xingzuo not between", value1, value2, "xingzuo");
            return (Criteria) this;
        }

        public Criteria andZatanIsNull() {
            addCriterion("zatan is null");
            return (Criteria) this;
        }

        public Criteria andZatanIsNotNull() {
            addCriterion("zatan is not null");
            return (Criteria) this;
        }

        public Criteria andZatanEqualTo(Byte value) {
            addCriterion("zatan =", value, "zatan");
            return (Criteria) this;
        }

        public Criteria andZatanNotEqualTo(Byte value) {
            addCriterion("zatan <>", value, "zatan");
            return (Criteria) this;
        }

        public Criteria andZatanGreaterThan(Byte value) {
            addCriterion("zatan >", value, "zatan");
            return (Criteria) this;
        }

        public Criteria andZatanGreaterThanOrEqualTo(Byte value) {
            addCriterion("zatan >=", value, "zatan");
            return (Criteria) this;
        }

        public Criteria andZatanLessThan(Byte value) {
            addCriterion("zatan <", value, "zatan");
            return (Criteria) this;
        }

        public Criteria andZatanLessThanOrEqualTo(Byte value) {
            addCriterion("zatan <=", value, "zatan");
            return (Criteria) this;
        }

        public Criteria andZatanIn(List<Byte> values) {
            addCriterion("zatan in", values, "zatan");
            return (Criteria) this;
        }

        public Criteria andZatanNotIn(List<Byte> values) {
            addCriterion("zatan not in", values, "zatan");
            return (Criteria) this;
        }

        public Criteria andZatanBetween(Byte value1, Byte value2) {
            addCriterion("zatan between", value1, value2, "zatan");
            return (Criteria) this;
        }

        public Criteria andZatanNotBetween(Byte value1, Byte value2) {
            addCriterion("zatan not between", value1, value2, "zatan");
            return (Criteria) this;
        }

        public Criteria andInserttimeIsNull() {
            addCriterion("inserttime is null");
            return (Criteria) this;
        }

        public Criteria andInserttimeIsNotNull() {
            addCriterion("inserttime is not null");
            return (Criteria) this;
        }

        public Criteria andInserttimeEqualTo(Integer value) {
            addCriterion("inserttime =", value, "inserttime");
            return (Criteria) this;
        }

        public Criteria andInserttimeNotEqualTo(Integer value) {
            addCriterion("inserttime <>", value, "inserttime");
            return (Criteria) this;
        }

        public Criteria andInserttimeGreaterThan(Integer value) {
            addCriterion("inserttime >", value, "inserttime");
            return (Criteria) this;
        }

        public Criteria andInserttimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("inserttime >=", value, "inserttime");
            return (Criteria) this;
        }

        public Criteria andInserttimeLessThan(Integer value) {
            addCriterion("inserttime <", value, "inserttime");
            return (Criteria) this;
        }

        public Criteria andInserttimeLessThanOrEqualTo(Integer value) {
            addCriterion("inserttime <=", value, "inserttime");
            return (Criteria) this;
        }

        public Criteria andInserttimeIn(List<Integer> values) {
            addCriterion("inserttime in", values, "inserttime");
            return (Criteria) this;
        }

        public Criteria andInserttimeNotIn(List<Integer> values) {
            addCriterion("inserttime not in", values, "inserttime");
            return (Criteria) this;
        }

        public Criteria andInserttimeBetween(Integer value1, Integer value2) {
            addCriterion("inserttime between", value1, value2, "inserttime");
            return (Criteria) this;
        }

        public Criteria andInserttimeNotBetween(Integer value1, Integer value2) {
            addCriterion("inserttime not between", value1, value2, "inserttime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}